<!doctype html>
<html>
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
    <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
    <title>Jodit Tests </title>
    <script>
        if (!location.host.match(/localhost/)) {
            document.write(
                '<' + 'link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mocha/5.1.1/mocha.min.css" />' +
                '<' + 'script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/5.1.1/mocha.min.js"><' + '/script>' +
                '<' + 'script src="https://cdnjs.cloudflare.com/ajax/libs/chai/4.1.2/chai.min.js"><' + '/script>'
            )
        } else {
            document.write(
                '<' + 'link rel="stylesheet" href="../node_modules/mocha/mocha.css" />' +
                '<' + 'script src="../node_modules/mocha/mocha.js"><' + '/script>' +
                '<' + 'script src="../node_modules/chai/chai.js"><' + '/script>'
            )
        }
    </script>

</head>
<body>
<div id="mocha"></div>

<script>
    mocha.ui('bdd');
    mocha.reporter('html');
</script>

<link rel="stylesheet" href="../app.css" />
<link rel="stylesheet" href="../build/jodit.min.css" />
<script src="../build/jodit.min.js"></script>

<script src="bootstrap.js"></script>
<script src="tests/editorTest.js"></script>
<script src="tests/domTest.js"></script>
<script src="tests/selectionTest.js"></script>
<script src="tests/eventsTest.js"></script>
<script src="tests/interfaceTest.js"></script>
<script src="tests/enterTest.js"></script>
<script src="tests/commandsTest.js"></script>
<script src="tests/tableTest.js"></script>
<script src="tests/undoredoTest.js"></script>
<script src="tests/mirrorTest.js"></script>
<script src="tests/filebrowserTest.js"></script>
<script src="tests/uploaderTest.js"></script>
<script src="tests/imageTest.js"></script>
<script src="tests/dialogTest.js"></script>
<script src="tests/pluginsTest.js"></script>
<script src="tests/mobileTest.js"></script>
<script src="tests/iframeTest.js"></script>
<script src="tests/clipboardTest.js"></script>
<script src="tests/inlineModeTest.js"></script>
<script src="tests/i18nTest.js"></script>
<script>
    window.onload = function() {
        if (window.mochaPhantomJS) {
            mochaPhantomJS.run();
        } else {
            mocha.run();
        }
    };
</script>
</body>
</html>